package com.flexpoker.client;

import java.util.List;

import com.flexpoker.domain.Player;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PlayerServiceAsync {

	void createPlayer(Player player, AsyncCallback<Void> callback);

	void getPlayerById(Long id, AsyncCallback<Player> callback);

	void getAllPlayers(AsyncCallback<List<Player>> callback);

}
